]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
mixer-control: Print port names with profiles
authorGuido Günther <agx@sigxcpu.org>
Sun, 4 Jan 2026 12:07:23 +0000 (13:07 +0100)
committerSimon McVittie <smcv@debian.org>
Wed, 28 Jan 2026 13:25:18 +0000 (13:25 +0000)
Other debug code uses port names instead of the description so
this simplifies debugging.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Origin: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31
Bug: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/34
Bug-Debian: https://bugs.debian.org/1126514
Applied-upstream: gnome-shell 50, commit:798230599950607ec285daecd070f5bcb28580e4

Gbp-Pq: Topic libgvc
Gbp-Pq: Name mixer-control-Print-port-names-with-profiles.patch

subprojects/gvc/gvc-mixer-control.c

index 6d425ddba6d07e14e4c5ffff40f06340008c71e1..f41c2c141b0e818f2ce12d6ce4443dc593e6e1ab 100644 (file)
@@ -1914,9 +1914,9 @@ determine_profiles_for_port (pa_card_port_info *port,
                                 supported_profiles = g_list_append (supported_profiles, prof);
                 }
         }
-        g_debug ("%i profiles supported on port %s",
+        g_debug ("%i profiles supported on port %s / %s",
                  g_list_length (supported_profiles),
-                 port->description);
+                 port->description, port->name);
         return g_list_sort (supported_profiles, (GCompareFunc) gvc_mixer_card_profile_compare);
 }